package cn.yunyichina.provider.clinic.main;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * 门诊服务子系统启动入口
 *
 * @author zhangkw
 * @date 2016-07-29
 */
public class ClinicApp {

    private static final Logger logger = LoggerFactory.getLogger(ClinicApp.class);

    public static void main(String[] args) {
        ClassPathXmlApplicationContext applicationContext = new ClassPathXmlApplicationContext("applicationContext.xml");
        applicationContext.start();
        logger.info("---------------start yyt-provider-clinic sucessful---------------------");
        com.alibaba.dubbo.container.Main.main(args);
    }

}
